package design.templateMethod;

/**
 * \* User: Administrator
 * <p>
 * \* Date: 2020/9/21
 * <p>
 * \* Time: 15:24
 * <p>
 * \* Description:
 * \
 */
public class Client {
    public static void main(String[] args) {
        TemplateClass1 templateClass1 = new TemplateClass1();
        TemplateClass2 templateClass2 = new TemplateClass2();
        templateClass1.canDoAny(false);
        templateClass1.templateMethod();
        templateClass2.templateMethod();
    }
}
